package com.tledu.dao;

import com.tledu.model.Employee;
import com.tledu.model.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ProductDao {

    List<Product> list();

    int insert(Product product);

    int delete(String productId);

    int update(Product product);

    Product selectById(String productId);
}
